﻿Imports DTO
Imports DAO

Public Class ThucDonBUS
    Dim _thucDonDAO As New ThucDonDAO
    Public Function LoadListThucDonBUS() As List(Of ThucDonDTO)
        Return _thucDonDAO.LoadListThucDonDAO()
    End Function

    Public Function LayThongTinThucDonBUS(ByVal _maMenu As Integer) As ThucDonDTO
        Return _thucDonDAO.LayThongTinThucDonDAO(_maMenu)
    End Function

    Public Function LoadThucDon() As DataTable
        Return _thucDonDAO.LoadThucDon()
    End Function

    Public Sub AddTD(ByVal _td As DTO.ThucDonDTO)
        _thucDonDAO.AddTD(_td)
    End Sub
    Public Sub UpdateTD(ByVal _td As DTO.ThucDonDTO)
        _thucDonDAO.UpdateTD(_td)
    End Sub
    Public Sub DelTD(ByVal _td As DTO.ThucDonDTO)
        _thucDonDAO.DelTD(_td)
    End Sub

End Class
